package com.wkbb.common.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;

/**
 * @author dengjingyuan
 * @date 2019-08-21 20:58
 */
public class OrderUtil {

    /**
     * 订单生成
     *
     */
    public static  String getOutTradeNo(){
        DateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
        Calendar calendar = Calendar.getInstance();
        return dateFormat.format(calendar.getTime());
    }
}
